	<?php $member = $this->session->userdata('member')?>
	
	<div class="w100p">
		<?php if(isset($member) && $member != null):?>
			<div class="head_top_wrap">
        	<div class="w903 mg top_menu_box">
            	<div class="login_status_menu">
                	<span>欢迎，<i><?php echo $member['username']?></i></span>
                    <a href="<?php echo site_url('member/receivebox')?>">信箱[0]</a>
                    <a href="#">积分[10]</a>
                    <a href="<?php echo site_url('member?id='.$member['id'])?>">个人首页</a>
                    <a href="<?php echo site_url('member/main')?>">管理中心</a>
                    <a href="<?php echo site_url('member/logout')?>">安全退出</a>
                </div>
            </div>
        </div>
		<?php endif; ?>
    	
        <div class="head_down_wrap">
        	<div class="w903 mg clearfix">
            	<div class="logo fl"><a href="/"><img src="<?php echo site_url('images/common/logo.png')?>" class="block"></a></div>
            	<ul class="main_menu">
                	<li>
                    	<a href="/">首页</a>
                    </li>
                    <li>
                    	<a href="<?php echo site_url('storemain')?>">小店</a>
                    </li>
                    <li>
                    	<a href="<?php echo site_url('streetmain')?>">大街小巷</a>
                    </li>
                </ul>
                <div class="search_box">
                	<input type="text" class="txt">
                    <input type="button" class="btn">
                </div>
            </div>    	
        </div>
    </div>